﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    public class DBContext:DbContext
    {
        public DBContext(DbContextOptions<DBContext> opts) : base(opts) 
        {

        }

        public DbSet<People> peoples { get; set; }

        public DbSet<Employee> employees { get; set; }




    }
}
